package com.bean;


public class Money implements java.io.Serializable{
	
	/** serialVersionUID*/
	private static final long serialVersionUID = 4915282250002325898L;
	
	private Short status;
	private Double summoney;
	private String name;
	
	public Money(){}
	
	public Money(Double summoney, Integer status){
		this.status = status.shortValue();
		this.summoney = summoney;
	}
	
	
	public Money(Double summoney, Short status){
		this.status = status;
		this.summoney = summoney;
	}
	
	public Short getStatus() {
		return status;
	}
	public void setStatus(Short status) {
		this.status = status;
	}
	public Double getSummoney() {
		if(summoney==null)
			return 0.0;
		return summoney;
	}
	public void setSummoney(Double summoney) {
		this.summoney = summoney;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
